﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<MvcBlog.ViewModels.UserManagerListViewModel>" %>


     <table id="userTable">
        <tr><th>Bearbeiten</th><th>Username</th><th>Vorname</th><th>Nachname</th><th>Aktiviert</th></tr>
     <% foreach (var item in Model.Users)
        { %>

        <tr><td><%: Html.ActionLink("Bearbeiten", "Edit/" + item.User.User_ID, "UserManager") %></td><td> <%: item.User.Username %></td><td> <%: item.User.Firstname %></td><td> <%: item.User.Lastname %></td><td> <%: item.User.Activated %></td></tr>

     <% } %>
     </table>